<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2022-03-25
  Time: 14:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1 align="center">合同的信息</h1>
<h2 align="center">${contract.id}</h2>
<h2 align="center">${contract.billno}</h2>
<h2 align="center">${contract.seller}</h2>
<h2 align="center">${contract.ctime}</h2>
<h3>合同细则</h3>
<c:forEach items="${contract.items}" var="t">
    ${t.pid},${t.num}，${t.weight}<br/>
</c:forEach>
</body>
</html>
